package com.gxa.ibear.entity.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

/**
 * <p>
 * 
 * </p>
 *
 * @author gxa
 * @since 2023-11-21
 */
@Getter
@Setter
@TableName("tb_order")
@ApiModel(value = "Order对象", description = "")
public class Order implements Serializable {

    private static final long serialVersionUID = 1L;

      @TableId(value = "order_id", type = IdType.AUTO)
    private Integer orderId;

    @ApiModelProperty("订单编号")
    @TableField("order_bh")
    private String orderBh;

    @ApiModelProperty("下单时间")
    @TableField("order_time")
    private LocalDateTime orderTime;

    @ApiModelProperty("店名")
    @TableField("order_shopName")
    private String orderShopname;

    @ApiModelProperty("送货地址")
    @TableField("order_adrees")
    private String orderAdrees;

    @ApiModelProperty("订单状态 默认0待付款 1待发货 2待收货 3待评价 4已收货 5已完成 6已取消 ")
    @TableField("order_status")
    private Boolean orderStatus;

    @ApiModelProperty("小计")
    @TableField("order_subtotal")
    private BigDecimal orderSubtotal;

    @ApiModelProperty("实付款")
    @TableField("order_payment")
    private BigDecimal orderPayment;

    @ApiModelProperty("发货时间")
    @TableField("order_deliverGoods")
    private LocalDateTime orderDelivergoods;


}
